import { createRouter, createWebHashHistory } from "vue-router";
import MainEntrance from "@/pages/MainEntrance";
import MessagePage from "@/pages/MessagePage";
import LiaisonPage from "@/pages/LiaisonPage";
import VideoCallPage from "@/pages/VideoCallPage";

export default createRouter({
    history: createWebHashHistory(process.env.BASE_URL),
    routes: [
        {
            path: "/",
            component: MainEntrance,
            children: [
                {
                    path: "/",
                    component: MessagePage
                },
                {
                    path: "message-page",
                    component: MessagePage
                },
                {
                    path: "liaison-page",
                    component: LiaisonPage
                }
            ]
        },
        {
            path: "/video-call-page",
            component: VideoCallPage
        }
    ]
});